package spring.module.sensitive;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 接口
 *  
 * @author Lucky Yang

 */
@RestController
@RequestMapping("/persons")
public class PersonController {
    @GetMapping
    public Person getPerson(){
        Person user = new Person();
        user.setRealName("张三三");
        user.setPhoneNumber("19796328206");
        user.setAddress("浙江省杭州市....");
        user.setIdCard("4333333333334334333");
        return user;
    }  
}
